
.header-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 40px 0;
    /* Retire background-image ici */
}

.header-content::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('photo/com/fontete.jpg');          
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1; /* Ajuste l’opacité ici */
    z-index: 0;
}

.header-content > * {
    position: relative;
    z-index: 1;
}


h1 {
    margin: 0px 0;
    color: #fff;
    text-align: center;
}
.logo-img {
    width: 200px;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
}


.menu-btn {
    background: #444;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}
.menu-btn:hover {
    background: #666;
}
.logo-img {
    width: 200px; /* ou la taille que tu veux */
    height: auto;
}
.corps {
    background: #e5e0e0;
    flex: 1 1 auto;
    width: 100%;
}
body {
    background-color: #303030;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
}
.tete {
    text-align: center;
    font-size: 1.5em;   /* Agrandit le texte */
    font-style: italic; /* Met en italique */
    color: #000000;       
}
.menu-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
 
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    cursor: pointer;
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 101;
    padding: 0;
    transition: background 0.2s;
    
}
.menu-toggle:hover {
    background: #d3b1b1;
}
.menu-toggle .bar {
    display: block;
    width: 26px;
    height: 4px;
    margin: 3px 0;
    background: #444;
    border-radius: 2px;
    transition: 0.3s;
    
}

/* Menu déroulant */
.menu-list {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #f1dada;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    position: absolute;
    top: 80px;
    left: 24px;
    min-width: 220px;
    z-index: 100;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow: hidden;
    
}
.menu-list.show {
    display: flex;
}
.menu-list li {
    width: 100%;
}
.menu-list li a {
    display: block;
    padding: 16px 28px;
    color: #222;
    text-decoration: none;
    font-size: 1.1em;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}
.menu-list li a:hover {
    background: #f2f2f2;
}
.menu-list li:last-child a {
    border-bottom: none;
}

#search-input {
    display: none;
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 60vw;           /* Largeur responsive */
    max-width: 700px;      /* Largeur max */
    min-width: 280px;
    padding: 12px 48px 12px 20px;
    border-radius: 24px;
    border: 1.5px solid #ccc;
    font-size: 1.15em;
    background: #fff;
    color: #222;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13);
    outline: none;
    transition: box-shadow 0.2s, border 0.2s, background 0.2s, opacity 0.25s, transform 0.25s;
    opacity: 0;
    pointer-events: none;
}
#search-input.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}
#search-input:focus {
    border: 1.5px solid #d3b1b1;
    background: #fff;
    box-shadow: 0 6px 32px rgba(180, 120, 120, 0.18);
}
p {
    font-size: 20px;
    color: #000000;
    margin-bottom: 22px;
    text-align: justify;
    max-width: 900px; /* Largeur maximale réduite */
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   STYLES POUR LES CONTENEURS DE MÉDITATION ET VIDÉOS
   ======================================== */

.meditation-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: stretch;
    max-width: 900px;
    margin: 40px auto;
    padding: 25px;
    /* Effet glassmorphism */
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.meditation-text {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.meditation-text h2 {
    color: #1a1a1a;
    font-size: 1.8em;
    margin-bottom: 15px;
    border-bottom: 3px solid #d3b1b1;
    padding-bottom: 10px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.meditation-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #1a1a1a;
    text-align: justify;
}

.meditation-text a {
    color: #d3b1b1;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.meditation-text a:hover {
    color: #b08888;
    text-decoration: underline;
}

.meditation-video {
    flex: 1;
    min-width: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.meditation-video video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: #000;
    display: block;
    max-width: 100%;
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ========================================
   RESPONSIVE - TABLETTES (max-width: 768px)
   ======================================== */

@media screen and (max-width: 768px) {
    .meditation-container {
        gap: 20px;
        margin: 30px 15px;
        padding: 20px;
    }

    .meditation-text h2 {
        font-size: 1.5em;
    }

    .meditation-text p {
        font-size: 16px;
        line-height: 1.6;
    }
}

/* ========================================
   RESPONSIVE - iPhone SE et petits écrans (max-width: 480px)
   ======================================== */

@media screen and (max-width: 480px) {
    .meditation-container {
        margin: 20px 10px;
        padding: 12px;
        gap: 15px;
        border-radius: 8px;
    }

    .meditation-text h2 {
        font-size: 1.3em;
        margin-bottom: 12px;
        border-bottom: 2px solid #d3b1b1;
        padding-bottom: 8px;
    }

    .meditation-text p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .meditation-video video {
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    .tete {
        font-size: 1.2em !important;
        padding: 0 10px;
    }
}

/* ========================================
   RESPONSIVE - Très petits écrans (max-width: 375px)
   iPhone SE 1ère génération
   ======================================== */

@media screen and (max-width: 375px) {
    .meditation-container {
        margin: 15px 8px;
        padding: 10px;
        gap: 12px;
    }

    .meditation-text h2 {
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    .meditation-text p {
        font-size: 14px;
        line-height: 1.5;
    }

    .tete {
        font-size: 1.1em !important;
    }
}

/* ========================================
   MODE PAYSAGE pour petits écrans
   ======================================== */

@media screen and (max-width: 768px) and (orientation: landscape) {
    .meditation-container {
        padding: 15px;
        gap: 15px;
    }

    .meditation-text h2 {
        font-size: 1.3em;
        margin-bottom: 8px;
    }

    .meditation-text p {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* ========================================
   BOUTON STYLE VERRE (LIQUID GLASS EFFECT)
   ======================================== */
.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: #000;
    border: 1px solid rgba(255, 255, 255, 0.29);
    border-radius: 12px;
    padding: 12px 28px;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.7px);
    -webkit-backdrop-filter: blur(6.7px);
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    letter-spacing: 0.5px;
    display: inline-block;
}

.btn-glass:hover, .btn-glass:focus {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    color: #000;
}
